package com.be.beadmin.system.service.ProjectDesignSevice;

import com.be.beadmin.project.dto.input.ProductInfoDto;
import com.be.beadmin.project.dto.input.ProductInfosDto;
import com.be.beadmin.project.entity.ProductInfo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description:
 * @author: Jiaming Zheng
 * @Date: Create in 9:46 2023/6/20
 * @Modified By:
 **/
public interface ProductInfoPdService {

    /**
     * 发布一条柜体信息
     * @param productInfoId
     * @return
     */
    int releaseProductInfo(String productInfoId);

    /**
     * 发布一条柜体信息
     * @param productInfo
     * @return
     */
    int releaseProductInfo(ProductInfo productInfo);

    //void addProductInfos(ProductInfosDto productInfos);
    List<ProductInfo> addProductInfos(HttpServletRequest request, ProductInfosDto productInfos);

    int releaseProductInfoAll(List<ProductInfo> productInfos);

    /**
     * @param productInfoDto
     */
    int updateProductInfo(ProductInfoDto productInfoDto);

    List<String> getProjectTeamEngineers(String infoId);
}
